<template class="main">
    <el-card class="main">
        <el-card>游戏玩家{{pInfo.playerIndex}}:{{pInfo.playerName}}</el-card>
        <el-card>炸弹数量：{{pInfo.bomCount}}</el-card>
        <el-card>威力：{{pInfo.power}}</el-card>
        <el-card>移动速度：{{pInfo.speed}}</el-card>
        <el-card>分数：{{pInfo.score}}</el-card>
    </el-card>
</template>

<script>
export default {
    name: "playerInfo",
    props: {
        pInfo:Object
    }
}
</script>

<style scoped>
    .main{
        width: 300px;
        height: 400px;
        background: #42b983;
        /*margin-top: 80px ;*/
    }
</style>
